package com.example.lotterysystem.service;


public interface VerificationCodeService {

    /**
     * 发送验证码
     *
     *  phoneNumber
     */
    void sendVerificationCode(String phoneNumber);

    /**
     * 从缓存中获取验证码
     *
     *  phoneNumber
     *
     */
    String getVerificationCode(String phoneNumber);

}
